package com.xja.cloud.entity;

import java.io.Serializable;

public class Order implements Serializable {

    private Integer oid;
    private String oname;
    private String oaddress;
    private Integer pid;
    private Product product;

    public Order() {
    }

    public Order(Integer oid, String oname, String oaddress, Integer pid) {
        this.oid = oid;
        this.oname = oname;
        this.oaddress = oaddress;
        this.pid = pid;
}

    public Integer getOid() {
        return oid;
    }

    public void setOid(Integer oid) {
        this.oid = oid;
    }

    public String getOname() {
        return oname;
    }

    public void setOname(String oname) {
        this.oname = oname;
    }

    public String getOaddress() {
        return oaddress;
    }

    public void setOaddress(String oaddress) {
        this.oaddress = oaddress;
    }

    public Integer getPid() {
        return pid;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    public Product getProduct() {
        return product;
    }

    public void setProduct(Product product) {
        this.product = product;
    }
}
